import java.util.*;

public class Kaffeemaschine{

	private int pad;
	private int fs;
	private KaffeeState state;
	
	public Kaffeemaschine(int pad, int fuellstand){
		this.pad=pad;
		this.fs=fs;
		state= new On();
	}
	
	public bruehen(){
		if(fs<200){
			state = new fsTooLow();
		}
	}
	
	public abstract class KaffeeState{
		
		public void onOff(){
		
		}
					
		public void one(){
			
		}
		
		public void two(){
			
		}
		
	}
	
	public class On extends KaffeeState{
		public void onOff(){
			state=new Off();
		}
	}
	
	public class Off extends KaffeeState{
		public void onOff(){
			state=new On();
		}
	}
		
	}
	
	
	
}
